###################
# Import Settings #
###################
from RFS_settings import ROOT_DIR
import os
import runpy


def main():
    """
    Script to reproduce main tables and figures for project: 'The Changing Economics of Knowledge Production'
    :return: Nothing. Tables and Figures are saved in created output folder.
    """
    runpy.run_path(path_name=os.path.join(ROOT_DIR, 'RFS_Scripts',  '1.Estimation_variables.py'), run_name='__main__')
    runpy.run_path(path_name=os.path.join(ROOT_DIR, 'RFS_Scripts', '2.Estimation.py'), run_name='__main__')


if __name__ == "__main__":
    main()
